package com.feinno.urcs.group.entity;

import com.feinno.superpojo.SuperPojo;
import com.feinno.superpojo.annotation.Field;
import com.feinno.urcs.types.MobileNo;

import java.util.List;

/**
 * Created by liufeng on 2015/5/13.
 */
public class GroupFileInfo extends SuperPojo {
	@Field(id = 1)
	private String fileName = "";

	@Field(id = 2)
	private String fileType = "";

	@Field(id = 3)
	private int fileSize = 0;

	@Field(id = 4)
	private int timelen = 0;

	@Field(id = 5)
	private boolean sendonly = false;

	@Field(id = 6)
	private boolean recvonly = false;

	@Field(id = 7)
	private String acceptType = "";

	@Field(id = 8)
	private String acceptWrappedType = "";

	@Field(id = 9)
	private String transferId = "";

	@Field(id = 10)
	private int fileRangeBegin = 1;

	@Field(id = 11)
	private int fileRangeEnd = 0;


	@Field(id = 12)
	@Deprecated
	private byte[] content;

	@Field(id = 13)
	private byte[] thumbnail;

	@Field(id = 14)
	private GroupMessageType messageType;

	@Field(id = 15)
	private byte[] statusReport;
	@Field(id = 16)
	private String contentTransferEncoding;
	@Field(id = 17)
	private List<MobileNo> atMembers;
	@Field(id = 18)
	private String fileId;
	@Field(id = 19)
	private boolean isPc;
	@Field(id = 20)
	private GroupMessageType pcMessageType;

	public GroupMessageType getPcMessageType() {
		return pcMessageType;
	}

	public void setPcMessageType(GroupMessageType pcMessageType) {
		this.pcMessageType = pcMessageType;
	}

	public boolean getIsPc() {
		return isPc;
	}

	public void setIsPc(boolean isPc) {
		this.isPc = isPc;
	}

	public List<MobileNo> getAtMembers() {
		return atMembers;
	}

	public void setAtMembers(List<MobileNo> atMembers) {
		this.atMembers = atMembers;
	}


	public String getFileId() {
		return fileId;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public int getFileSize() {
		return fileSize;
	}

	public void setFileSize(int fileSize) {
		this.fileSize = fileSize;
	}

	public int getTimelen() {
		return timelen;
	}

	public void setTimelen(int timelen) {
		this.timelen = timelen;
	}

	public boolean isSendonly() {
		return sendonly;
	}

	public void setSendonly(boolean sendonly) {
		this.sendonly = sendonly;
	}

	public boolean isRecvonly() {
		return recvonly;
	}

	public void setRecvonly(boolean recvonly) {
		this.recvonly = recvonly;
	}

	public String getAcceptType() {
		return acceptType;
	}

	public void setAcceptType(String acceptType) {
		this.acceptType = acceptType;
	}

	public String getAcceptWrappedType() {
		return acceptWrappedType;
	}

	public void setAcceptWrappedType(String acceptWrappedType) {
		this.acceptWrappedType = acceptWrappedType;
	}

	public String getTransferId() {
		return transferId;
	}

	public void setTransferId(String transferId) {
		this.transferId = transferId;
	}

	public int getFileRangeBegin() {
		return fileRangeBegin;
	}

	public void setFileRangeBegin(int fileRangeBegin) {
		this.fileRangeBegin = fileRangeBegin;
	}

	public int getFileRangeEnd() {
		return fileRangeEnd;
	}

	public void setFileRangeEnd(int fileRangeEnd) {
		this.fileRangeEnd = fileRangeEnd;
	}

	@Deprecated
	public byte[] getContent() {
		return content;
	}

	@Deprecated
	public void setContent(byte[] content) {
		this.content = content;
	}

	public byte[] getThumbnail() {
		return thumbnail;
	}

	public void setThumbnail(byte[] thumbnail) {
		this.thumbnail = thumbnail;
	}

	public GroupMessageType getMessageType() {
		return messageType;
	}

	public void setMessageType(GroupMessageType messageType) {
		this.messageType = messageType;
	}

	public byte[] getStatusReport() {
		return statusReport;
	}

	public void setStatusReport(byte[] statusReport) {
		this.statusReport = statusReport;
	}

	public String getContentTransferEncoding() {
		return contentTransferEncoding;
	}

	public void setContentTransferEncoding(String contentTransferEncoding) {
		this.contentTransferEncoding = contentTransferEncoding;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}
}
